﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace CsplCalculatorLib.Model
{
    public class CalModel
    {
        #region Private Fields

            private int _integerValue1;
            private int _integerValue2;
            private CalOperations _operation;
            private IEnumerable<int> _listOfNumber;
            private CalMode _calMode;

            


            

        #endregion

        #region Constructors

            public CalModel()
            {

            }

            public CalModel(CalOperations operation)
            {
                // assign an initial operation
                this.Operation = operation;
            }

        #endregion

        #region Properties

            public int IntegerValue1
            {
                get { return _integerValue1; }
                set { _integerValue1 = value; }
            }

            public int IntegerValue2
            {
                get { return _integerValue2; }
                set { _integerValue2 = value; }
            }

            public CalOperations Operation
            {
                get { return _operation; }
                set { _operation = value; }
            }

            public IEnumerable<int> ListOfNumber
            {
                get { return _listOfNumber; }
                set { _listOfNumber = value; }
            }

            public CalMode CalMode
            {
                get { return _calMode; }
                set { _calMode = value; }
            }

         #endregion




    }
}
